<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:example-cc="http://java.sun.com/jsf/composite/example-cc"
	xmlns:ui="http://java.sun.com/jsf/facelets">

	<h:form>

		<h:messages globalOnly="true" />

		<table>
			<tr>
				<td><h:outputLabel for="datePattern" value="#{i18n['date-format']}" /></td>
				<td><h:inputText id="datePattern" value="#{mutablePortletPreferencesValues['datePattern'].value}" /></td>
				<td><h:message for="datePattern" /></td>
			</tr>
		</table>

		<hr />

		<h:commandButton actionListener="#{portletPreferencesBackingBean.submit}" value="#{i18n['submit']}" />
		<h:commandButton actionListener="#{portletPreferencesBackingBean.reset}" value="#{i18n['reset']}" />

	</h:form>

</ui:composition>
